var e = require("../../@babel/runtime/helpers/interopRequireDefault").default, t = require("../../config/index"), a = e(require("../../kta/index")), u = getApp().eventBus;

a.default.Page({
    data: {
        url: ""
    },
    onLoad: function(e) {
        var t = this;
        e.url ? this.setData({
            url: decodeURIComponent(e.url)
        }) : this.pageSub = u.on("toWebviewPage", function(e) {
            var a = e.url;
            t.setData({
                url: a
            });
        });
    },
    onUnload: function() {
        this.pageSub && this.pageSub.off();
    },
    onShareAppMessage: function() {
        return t.defaultShareContent;
    }
});